#pragma once

class G711Codec
{
public:
	G711Codec(void);
	~G711Codec(void);

public:
	void EncodeAlaw(unsigned char * dst , short * pcm , unsigned count);
    void EncodeUlaw(unsigned char * dst , short * pcm , unsigned count);

public:
	void DecodeAlaw(short * dst , unsigned char * src , unsigned count);
	void DecodeUlaw(short * dst , unsigned char * src , unsigned count);

};
